/**
 * @Desc:
 * @User: zouqihui
 * @Date: 2022/11/23 16:28
 */
package controllers

import beego "github.com/beego/beego/v2/server/web"

type RouteController struct {
	beego.Controller
}

func (c *RouteController) GetRouteParams() {
	//url路由匹配的参数
	id := c.Ctx.Input.Param(":id")
	c.Ctx.WriteString(string(id))
	//c.Ctx.Input.Param(":username")
	//c.Ctx.Input.Param(":cat")
	//c.Ctx.Input.Param(":page")
	//c.Ctx.Input.Param(":splat")
}
